home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / rapid-fire.swf / scripts / DefineButton2_244 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-10-17  |  281 b   |  12 lines

  1. on(press){
  2.    _root.miss_snd.start(0,1);
  3.    _root.perfect_combo = 0;
  4.    _root.miss -= 1;
  5.    _root.miss_mc.gotoAndStop(_root.miss + 1);
  6.    if(_root.miss == 0)
  7.    {
  8.       _root.paused = true;
  9.       _root.attachMovie("level_end","level_end",_root.pause_clip_depth);
  10.    }
  11. }
  12.